Builtin Types
Odin has a large number of builtin types compared to most other languages.
Signed Integers
i8i16i32i64i128
Unsigned Integers
u8u16u32u64u128uintptr. An unsigned integer guaranteed to besizeof(rawptr)
byte exists as an alias of u8. It is not a distinct type.
Endian-specific types
By default, all numeric types have platform-native endianness. These types override that, which is primarily useful for things like parsing file formats, or reading data from the network. This specifically represents the byte-endianness. For that reason, u8 and i8 do not have endian-specific variants, as they are only 1 byte.
Big Endian:
i16beu16bei32beu32bei64beu64bei128beu128bef16bef32bef64be
Little Endian:
i16leu16lei32leu32lei64leu64lei128leu128lef16lef32lef64le